Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Applet Control Functions /


JMCountApplets

Counts the number of applets associated with an HTML page.

OSStatus JMCountApplets (
                     JMAppletLocatorRef locatorRef, 
                     UInt32* appletCount);
locatorRef
The applet locator that contains the parsed HTML text.
appletCount
A pointer to the applet count. On return, this parameter points to the number of applets.
function result
A result code; see "JManager Result Codes".
DISCUSSION
If there are no applets associated with the text, JMCountApplets returns 0. You can call this function only after successfully retrieving HTML text using the JMNewAppletLocator function.

SEE ALSO
"Finding Applets".


Previous Book Contents Book Index Next

© Apple Computer, Inc.
10 DEC 1997